//
//  BaseViewController.h
//  copyrightTrading
//
//  Created by 郭子一 on 2020/10/5.
//  Copyright © 2020 郭子一. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface BaseViewController : UIViewController
- (void)verifyUserLoginBlock;
- (void)setupUI;

- (void)showLoading;//展示加载动画

- (void)hidloading;//禁止加载动画

- (void)showMessage:(NSString*)message;//弹出提示

- (void)pop;

- (void)popToRootVc;

- (void)popToVc:(UIViewController *)vc;

- (void)dismiss;

- (void)dismissWithCompletion:(void(^)(void))completion;

- (void)presentVc:(UIViewController *)vc;

- (void)presentVc:(UIViewController *)vc completion:(void (^)(void))completion;

- (void)pushVc:(UIViewController *)vc;

- (void)removeChildVc:(UIViewController *)childVc;

- (void)addChildVc:(UIViewController *)childVc;

- (void)pushVideoDetailVCWithID:(NSString *)detailID;
@end

NS_ASSUME_NONNULL_END
